// write your code here cpp
#include<iostream>
#include<string>
using namespace std;
string s;
int main()
{
	while (getline(cin, s))
	{
		string res;
		for (auto ch : s)
		{
			if (ch >= 'F' && ch <= 'Z')
			{
				ch -= 5;
			}
			else if (ch >= 'A' && ch <= 'E')
			{
				ch = ch + 26 - 5;
			}
			res += ch;
		}
		cout << res << endl;
	}
	return 0;
}